package com.javasm.mb_store_api_final.giftsandgoods.goods.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.mb_store_api_final.giftsandgoods.goods.vo.GoodsVo;
import com.javasm.mb_store_api_final.giftsandgoods.goods.entity.GgGoods;

import java.util.List;

/**
 * 商品管理-商品管理(GgGoods)表服务接口
 *
 * @author makejava
 * @since 2024-07-29 21:20:18
 */
public interface GgGoodsService  extends IService<GgGoods>{

    IPage<GgGoods> listWithTypeName(GoodsVo goodsVo);

    GgGoods getByIdWithAnotherProperties(String gid);

    boolean updateByIdWithTypeName(GgGoods goods);

    boolean updateByIdWithClassify(GgGoods goods);

    boolean saveGoodsWithProduct(GgGoods goods);
}

